@media screen and (min-width:1200px) {
  html {
    font-size: 20px;
  }
}

@media screen and (min-width:800px) and (max-width:1200px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-width:800px) {
  html {
    font-size: 12px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: '楷体';
}

#container {
  width: 40rem;
  height: 100%;
  position: absolute;
  top: 0;
  left: -12rem;
}

#right {
  width: 28rem;
  height: 100%;
  padding: 2rem;
  float: left;
  border-right: 1px solid #909399;
}

#right h3 {
  width: 100%;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
}

#right p {
  width: 100%;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
}

#right span {
  display: block;
  float: left;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 10rem;
}

#right b {
  display: block;
  float: left;
  margin-left: 1rem;
  margin-top: 0.5rem;
  font-size: 1.4rem;
}

#left {
  width: 12rem;
  height: 100%;
  background-color: black;
  color: darkgray;
  float: left;
  position: relative;
}

#left ul {
  width: 12rem;
  height: 100%;
  list-style: none;
}

#left ul li {
  width: 12rem;
  height: 2.5rem;
  padding-left: 2rem;
  line-height: 2.5rem;
  cursor: pointer;
}

#left ul li:hover {
  color: white;
}

#left #close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

#left #close:hover {
  color: red;
}